{config_load file="index.conf"}
{include file="inc/doctype.tpl"}

<head>
    <title>Search</title>
    {include file="inc/include.tpl"}
</head>

<body>

{include file="inc/logo.tpl"}
{include file="inc/global_menu.tpl"}

<form action="/search/result/" method="get">
    Name:<br />
    <input type="text" name="search[login]" value="{$search.login}" /><br />
    Sex:<br />
    <select name="search[sex]">
        <option value="">Select</option>
        <option value="male" {if $search.sex == 'male'}selected="selected"{/if}>Male</option>
        <option value="female" {if $search.sex == 'female'}selected="selected"{/if}>Female</option>
    </select><br />
    Age:<br />
    <input type="text" name="search[age]" value="{$search.age}" /><br />
    Connected:<input type="checkbox" name="search[con]" {if $search.con}checked="checked"{/if} value="1" /><br />
    <input type="submit" value="search" />
</form>

</body>

</html>